home *** CD-ROM | disk | FTP | other *** search
- // SlsDemo.h : main header file for the SLSDEMO application
- //
-
- #if !defined(AFX_SLSDEMO_H__9FE45CD4_230F_11D1_A3B6_000000000000__INCLUDED_)
- #define AFX_SLSDEMO_H__9FE45CD4_230F_11D1_A3B6_000000000000__INCLUDED_
-
- #if _MSC_VER >= 1000
- #pragma once
- #endif // _MSC_VER >= 1000
-
- #ifndef __AFXWIN_H__
- #error include 'stdafx.h' before including this file for PCH
- #endif
-
- #include "resource.h" // main symbols
- #include "sheriff.h"
- /////////////////////////////////////////////////////////////////////////////
- // CSlsDemoApp:
- // See SlsDemo.cpp for the implementation of this class
- //
-
- class CSlsDemoApp : public CWinApp
- {
- public:
- CSheriff *m_pSheriff;
- BOOL m_bLicenceOK;
- BOOL m_nAccessKey;
- CString m_strUserName;
-
- BOOL CheckLicence();
- BOOL RegisterProduct();
- BOOL RegisterLicence();
-
- BOOL m_bRunInDemoMode;
- void RunInDemoMode() { m_bRunInDemoMode=TRUE; }
- void ShowSheriffError();
-
- CSlsDemoApp();
- ~CSlsDemoApp();
-
- // Overrides
- // ClassWizard generated virtual function overrides
- //{{AFX_VIRTUAL(CSlsDemoApp)
- public:
- virtual BOOL InitInstance();
- virtual BOOL ExitInstance();
- //}}AFX_VIRTUAL
-
- // Implementation
-
- //{{AFX_MSG(CSlsDemoApp)
- afx_msg void OnAppAbout();
- afx_msg void OnTestExport();
- afx_msg void OnTestQueryuserinfo();
- //}}AFX_MSG
- DECLARE_MESSAGE_MAP()
- };
-
-
- /////////////////////////////////////////////////////////////////////////////
-
- //{{AFX_INSERT_LOCATION}}
- // Microsoft Developer Studio will insert additional declarations immediately before the previous line.
-
- #endif // !defined(AFX_SLSDEMO_H__9FE45CD4_230F_11D1_A3B6_000000000000__INCLUDED_)
-